import Vue from 'vue'
import App from './App.vue'
import router from './router'

import '@/utils/vant'
import AMap from 'vue-amap'

Vue.use(AMap)
Vue.config.productionTip = false

// 初始化vue-amap
AMap.initAMapApiLoader({
  // 高德的key
  key: '4e1a9f9ec40d175ea80d075a42313fc0',
  // 插件集合
  plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor'],
  // 高德 sdk 版本，默认为 1.4.4
  v: '1.4.4'
});



new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
